import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './permission'
import './icons'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/style.scss'
import api from '@/api/index'
import "./mock/data"
import echarts from 'echarts'
import directives from './directives'
Vue.prototype.$echarts = echarts

Vue.prototype.$api = api
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.use(directives)
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
